package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师对象 teacher
 * 
 * @author yangqinyu
 * @date 2025-05-05
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 教师类型 */
    @Excel(name = "教师类型")
    private String teacherType;

    /** 教师住址 */
    @Excel(name = "教师住址")
    private String teacherLocation;

    /** $column.columnComment */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    public void setTeacherType(String teacherType) 
    {
        this.teacherType = teacherType;
    }

    public String getTeacherType() 
    {
        return teacherType;
    }

    public void setTeacherLocation(String teacherLocation) 
    {
        this.teacherLocation = teacherLocation;
    }

    public String getTeacherLocation() 
    {
        return teacherLocation;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherName", getTeacherName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("teacherType", getTeacherType())
            .append("teacherLocation", getTeacherLocation())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
